package com.itita.ww2.handler.requesthandler.building;

import com.smartfoxserver.v2.annotations.MultiHandler;
import com.itita.ww2.core.AbstractClientRequestHandler;

@MultiHandler
public class BuildingHandler extends AbstractClientRequestHandler {
	public static final String COMMAND_PREFIX = "bd"; // 前缀

	@Override
	protected void init() {
		addClientRequestItem("base_unlock", BaseBDUnlock.class); // 解锁基地建筑
		addClientRequestItem("base_up", BaseBDUpgrade.class); // 基地建筑升级
		addClientRequestItem("base_up_complete", BaseBDUpgradeComplete.class); // 基地建筑升级完成
		addClientRequestItem("collect_res", CollectBDResource.class); // 收集资源建筑产出资源
	}

	@Override
	protected void setCommandPrefix() {
		super.cmd_prefix = COMMAND_PREFIX;
	}

}
